package com.yhm.study.springmvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @program: study
 * @description: 类描述
 * @author: YHM
 * @create: 2019-03-25 15:18
 * @package: com.yhm.study.springmvc
 **/
@Controller
public class testController {

    @RequestMapping(value = "/test" ,method = RequestMethod.GET)
//    @ResponseBody
    public String test(){
        System.out.println("执行到这里");
        return "success";
    }
}
